home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 November / macformat-043.iso / mac / Shareware Plus / Developers / OpenStack Rinaldi Collection / openstack-rinaldi-lib / SetFinderLock 1.2 (US) / SetFinderLock 1.2 (US).rsrc / HELP_5635 next >
Encoding:
Text File  |  1996-01-09  |  2.4 KB  |  60 lines

  1.  
  2.  
  3.                                           SetFinderLock 1.2
  4.  
  5.                                           by Frédéric RINALDI
  6.  
  7. DESCRIPTION
  8.   SetFinderLock XCMD allows to lock/unlock a file (Finder info checkbox).
  9.  
  10. SYNTAX
  11.        SetFinderLock <file path or name>[,<locked>][,"DontResolveAlias"]
  12.  
  13. PARAMETERS
  14.    <file path or name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  15.  
  16.    <locked> is a boolean defining the lock state. Default is TRUE.
  17.  
  18.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  19.  
  20.    Using "!", "?" and "=" as parameter will return an online help (resp. copyright, syntax and output).
  21.  
  22. ERRORS
  23.    If an error occurs, SetFinderLock can return :
  24.      "Error : Not a file"
  25.      "Error : Not a folder"
  26.      "Error : Alias file not supported"
  27.      "Error : Volume not found"
  28.      "Error : Bad Name"
  29.      "Error : File not found"
  30.      "Error : Folder not found"
  31.      "Error : File is busy"
  32.      "Error : I/O Error"
  33.      "Error : Folder is full"
  34.      "Error : Volume is locked"
  35.      "Error : No resource fork"
  36.      "Error : Duplicate file/folder name"
  37.      "Error : Moving whole volume not allowed"
  38.      "Error : Not an AppleShare volume"
  39.      "Error : AppleShare insufficient privileges"
  40.      "Error : Missing or empty parameter"
  41.      "Error : Bad param #X"
  42.  
  43. HISTORY
  44. 1.2                                                                                         12/25/91
  45. • Fixed alias file bug under System 7.0.1
  46.                                                                                          
  47. 1.1                                                                                         08/04/91
  48. • Added support for System 7.0 alias files
  49. • General enhancement of the code
  50. • Added "DontResolveAlias" parameter
  51. • Added "=" param for online help
  52. --------------------------------------------------------------------
  53.    All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  54.  
  55.               SetFinderLock XCMD, © Frederic Rinaldi, 1989…1993.
  56.  
  57.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  58.  
  59. AppleLink: RINALDI1   CalvaCom : FR10    Compuserve : 71170,2111
  60.                Internet : RINALDI1@APPLELINK@APPLE.COM